﻿ 
using System.Collections.Generic; 
using System.ServiceModel; 
using NTTDATA.BEENChina.ResultCertification.Config; 
using NTTDATA.BEENChina.ResultCertification.model; 

namespace NTTDATA.BEENChina.ResultCertification.WcfServiceLibrary
{
       [ServiceContract ]

    public interface IServiceResultCertification
    {
        [OperationContract]
        IEnumerable<CategoryConfig> GetCagetoryConfigs(EnumCategoryType categoryType);
        [OperationContract]
        int RemoveCategoryVerfities(string categoryId);
        [OperationContract]
        List<VerfityItem> GetVerfityItems(EnumCategoryType categoryType);
        [OperationContract]
        int AddCategoryVerfities(string categoryId, IEnumerable<VerfityItem> verfityItems);

        [OperationContract]
        CheckSetting GetCheckSetting();
        [OperationContract]
        void SaveSettings(CheckSetting setting);


        [OperationContract]
        void SaveVerifyCategorys(List<VerfityItem> verfityItems);
        [OperationContract]
        List<CheckSetting> GetCheckSettings();
        [OperationContract]
        void AddCheckSetting(CheckSetting checkSetting);
        [OperationContract]
        void DelCheckSetting(string id);

 
        [OperationContract]
        VerfityItem GetVerfityItem(string verfityItemId);
 
        [OperationContract]
        int AddVerfityItem(VerfityItem verfityItem);
        [OperationContract]
        int UpdateVerfityItem(VerfityItem verfityItem);
        [OperationContract]
        bool VerfityItemId(string verfityItemId);       

        [OperationContract]
        void Start();
        [OperationContract]
        void Stop();

        [OperationContract]
        void CompleteOpIdAndImage();

        [OperationContract]
        string DataBaseConnString();

    }
}


